package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.PermissionsDto;
import com.itheima.reggie.entity.Permissions;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface PermissionsService extends IService<Permissions> {
    List<Permissions> userPermissions(Long empId);

    String savePermissions(@RequestBody PermissionsDto permissionsDto);
}
